package com.pinxixi.goods.mapper;

import com.pinxixi.framework.domain.goods.Item;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface ItemMapper {

    @Select("select id,title,price,num,image,categoryId categoryid,status,create_time createTime,update_time updateTime,goods_id goodsId,category,brand,spec from tb_item")
    List<Item> findAll();

}
